<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: CutCommand类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_cut_command.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="class_cut_command-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CutCommand类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 CutCommand 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_cut_command.png" usemap="#CutCommand_map" alt=""/>
  <map id="CutCommand_map" name="CutCommand_map">
<area href="class_command.html" title="The abstract parent class of all the command classes. Commands are non-copyable." alt="Command" shape="rect" coords="0,0,86,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5766947d109bf10eb5678a987c132863"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#a5766947d109bf10eb5678a987c132863">CutCommand</a> (<a class="el" href="local_types_8h.html#aaf826fa8d4266d9e1d76c4095fbfd55f">CopyBufferPtr</a> copy_buffer_ptr, <a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a> selection_ptr, <a class="el" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a> cloud_ptr)</td></tr>
<tr class="memdesc:a5766947d109bf10eb5678a987c132863"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor  <a href="class_cut_command.html#a5766947d109bf10eb5678a987c132863">更多...</a><br /></td></tr>
<tr class="separator:a5766947d109bf10eb5678a987c132863"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6e72cb5da0d254570b894a8ea29c8a4"><td class="memItemLeft" align="right" valign="top"><a id="af6e72cb5da0d254570b894a8ea29c8a4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#af6e72cb5da0d254570b894a8ea29c8a4">~CutCommand</a> ()</td></tr>
<tr class="memdesc:af6e72cb5da0d254570b894a8ea29c8a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:af6e72cb5da0d254570b894a8ea29c8a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_command"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_command')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_command.html">Command</a></td></tr>
<tr class="memitem:a641c23ef533dd6f77d0a4ef0311598b2 inherit pub_methods_class_command"><td class="memItemLeft" align="right" valign="top"><a id="a641c23ef533dd6f77d0a4ef0311598b2"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a641c23ef533dd6f77d0a4ef0311598b2">~Command</a> ()</td></tr>
<tr class="memdesc:a641c23ef533dd6f77d0a4ef0311598b2 inherit pub_methods_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor <br /></td></tr>
<tr class="separator:a641c23ef533dd6f77d0a4ef0311598b2 inherit pub_methods_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:aa76bd4215f468d52e375fcf1d392565e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#aa76bd4215f468d52e375fcf1d392565e">execute</a> ()</td></tr>
<tr class="memdesc:aa76bd4215f468d52e375fcf1d392565e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Moves the selected points to the copy buffer and removes them from the cloud.  <a href="class_cut_command.html#aa76bd4215f468d52e375fcf1d392565e">更多...</a><br /></td></tr>
<tr class="separator:aa76bd4215f468d52e375fcf1d392565e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbabb7f6bed3665f58309f91583bc99c"><td class="memItemLeft" align="right" valign="top"><a id="afbabb7f6bed3665f58309f91583bc99c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#afbabb7f6bed3665f58309f91583bc99c">undo</a> ()</td></tr>
<tr class="memdesc:afbabb7f6bed3665f58309f91583bc99c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the cut points to the cloud. This does not reconstruct the original ordering of the point cloud. <br /></td></tr>
<tr class="separator:afbabb7f6bed3665f58309f91583bc99c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_command"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_command')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_command.html">Command</a></td></tr>
<tr class="memitem:a18df2d81039392daeb0b78c346a70537 inherit pro_methods_class_command"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a18df2d81039392daeb0b78c346a70537">Command</a> ()</td></tr>
<tr class="memdesc:a18df2d81039392daeb0b78c346a70537 inherit pro_methods_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">The default constructor.  <a href="class_command.html#a18df2d81039392daeb0b78c346a70537">更多...</a><br /></td></tr>
<tr class="separator:a18df2d81039392daeb0b78c346a70537 inherit pro_methods_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af06c78301f9782a47b838b619c4edfaf inherit pro_methods_class_command"><td class="memItemLeft" align="right" valign="top"><a id="af06c78301f9782a47b838b619c4edfaf"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#af06c78301f9782a47b838b619c4edfaf">hasUndo</a> () const</td></tr>
<tr class="memdesc:af06c78301f9782a47b838b619c4edfaf inherit pro_methods_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the command has an undo function. <br /></td></tr>
<tr class="separator:af06c78301f9782a47b838b619c4edfaf inherit pro_methods_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a98fe4652991f1311ab6809a93d1c72f6"><td class="memItemLeft" align="right" valign="top"><a id="a98fe4652991f1311ab6809a93d1c72f6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#a98fe4652991f1311ab6809a93d1c72f6">CutCommand</a> ()</td></tr>
<tr class="memdesc:a98fe4652991f1311ab6809a93d1c72f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default constructor - object is not default constructable <br /></td></tr>
<tr class="separator:a98fe4652991f1311ab6809a93d1c72f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40b2282473f71ac78c432b187c52aea8"><td class="memItemLeft" align="right" valign="top"><a id="a40b2282473f71ac78c432b187c52aea8"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#a40b2282473f71ac78c432b187c52aea8">CutCommand</a> (const <a class="el" href="class_cut_command.html">CutCommand</a> &amp;)</td></tr>
<tr class="memdesc:a40b2282473f71ac78c432b187c52aea8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor - commands are non-copyable <br /></td></tr>
<tr class="separator:a40b2282473f71ac78c432b187c52aea8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5716ed970d21a722f483e5bb1825d3c9"><td class="memItemLeft" align="right" valign="top"><a id="a5716ed970d21a722f483e5bb1825d3c9"></a>
<a class="el" href="class_cut_command.html">CutCommand</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#a5716ed970d21a722f483e5bb1825d3c9">operator=</a> (const <a class="el" href="class_cut_command.html">CutCommand</a> &amp;)</td></tr>
<tr class="memdesc:a5716ed970d21a722f483e5bb1825d3c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Equal operator - commands are non-copyable <br /></td></tr>
<tr class="separator:a5716ed970d21a722f483e5bb1825d3c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a32fdb502275c2813ac35d8278b8bf9c5"><td class="memItemLeft" align="right" valign="top"><a id="a32fdb502275c2813ac35d8278b8bf9c5"></a>
<a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#a32fdb502275c2813ac35d8278b8bf9c5">selection_ptr_</a></td></tr>
<tr class="memdesc:a32fdb502275c2813ac35d8278b8bf9c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">A shared pointer pointing to the selection object. <br /></td></tr>
<tr class="separator:a32fdb502275c2813ac35d8278b8bf9c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b1c9c72766e0147686b21ed34aac8f3"><td class="memItemLeft" align="right" valign="top"><a id="a7b1c9c72766e0147686b21ed34aac8f3"></a>
<a class="el" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#a7b1c9c72766e0147686b21ed34aac8f3">cloud_ptr_</a></td></tr>
<tr class="memdesc:a7b1c9c72766e0147686b21ed34aac8f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">a pointer pointing to the cloud <br /></td></tr>
<tr class="separator:a7b1c9c72766e0147686b21ed34aac8f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0246f37200135c1dd44fb2c5bc44a7fd"><td class="memItemLeft" align="right" valign="top"><a id="a0246f37200135c1dd44fb2c5bc44a7fd"></a>
<a class="el" href="local_types_8h.html#aaf826fa8d4266d9e1d76c4095fbfd55f">CopyBufferPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#a0246f37200135c1dd44fb2c5bc44a7fd">copy_buffer_ptr_</a></td></tr>
<tr class="memdesc:a0246f37200135c1dd44fb2c5bc44a7fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">a pointer pointing to the copy buffer. <br /></td></tr>
<tr class="separator:a0246f37200135c1dd44fb2c5bc44a7fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02b49751b86f3456e963523a833267f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_selection.html">Selection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#a02b49751b86f3456e963523a833267f5">cut_selection_</a></td></tr>
<tr class="separator:a02b49751b86f3456e963523a833267f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74143025cc2071dd7f8ee3e6be62bcbc"><td class="memItemLeft" align="right" valign="top"><a id="a74143025cc2071dd7f8ee3e6be62bcbc"></a>
<a class="el" href="class_copy_buffer.html">CopyBuffer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_cut_command.html#a74143025cc2071dd7f8ee3e6be62bcbc">cut_cloud_buffer_</a></td></tr>
<tr class="memdesc:a74143025cc2071dd7f8ee3e6be62bcbc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The copy buffer which backs up the points removed from the cloud. <br /></td></tr>
<tr class="separator:a74143025cc2071dd7f8ee3e6be62bcbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pro_attribs_class_command"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_command')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_command.html">Command</a></td></tr>
<tr class="memitem:a6524158d3dd197cef746c64cd0e079e0 inherit pro_attribs_class_command"><td class="memItemLeft" align="right" valign="top"><a id="a6524158d3dd197cef746c64cd0e079e0"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_command.html#a6524158d3dd197cef746c64cd0e079e0">has_undo_</a></td></tr>
<tr class="memdesc:a6524158d3dd197cef746c64cd0e079e0 inherit pro_attribs_class_command"><td class="mdescLeft">&#160;</td><td class="mdescRight">a flag indicates whether the command has an undo function. <br /></td></tr>
<tr class="separator:a6524158d3dd197cef746c64cd0e079e0 inherit pro_attribs_class_command"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="a5766947d109bf10eb5678a987c132863"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5766947d109bf10eb5678a987c132863">&#9670;&nbsp;</a></span>CutCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CutCommand::CutCommand </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#aaf826fa8d4266d9e1d76c4095fbfd55f">CopyBufferPtr</a>&#160;</td>
          <td class="paramname"><em>copy_buffer_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#ab119e5463fbd3af25e93c81bd306ae54">SelectionPtr</a>&#160;</td>
          <td class="paramname"><em>selection_ptr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="local_types_8h.html#ab270fe8bf56ceef23c1c5fbe384c9430">CloudPtr</a>&#160;</td>
          <td class="paramname"><em>cloud_ptr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructor </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">copy_buffer_ptr</td><td>a shared pointer pointing to the copy buffer. </td></tr>
    <tr><td class="paramname">selection_ptr</td><td>a shared pointer pointing to the selection object. </td></tr>
    <tr><td class="paramname">cloud_ptr</td><td>a shared pointer pointing to the cloud object. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aa76bd4215f468d52e375fcf1d392565e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa76bd4215f468d52e375fcf1d392565e">&#9670;&nbsp;</a></span>execute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void CutCommand::execute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Moves the selected points to the copy buffer and removes them from the cloud. </p>
<dl class="section pre"><dt>前置条件</dt><dd>Assumes the constructor was given appropriate pointers to the required objects. </dd></dl>

<p>实现了 <a class="el" href="class_command.html#a6fd7d9bd8df8bfc881e4d6c7cd1878b7">Command</a>.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a02b49751b86f3456e963523a833267f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02b49751b86f3456e963523a833267f5">&#9670;&nbsp;</a></span>cut_selection_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_selection.html">Selection</a> CutCommand::cut_selection_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>a selection which backs up the index of the points cut in the original cloud. </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>apps/point_cloud_editor/include/pcl/apps/point_cloud_editor/<a class="el" href="cut_command_8h_source.html">cutCommand.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_cut_command.html">CutCommand</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
